package com.qf.work.service.impl;

import com.qf.work.entity.Project;
import com.qf.work.mapper.ProjectMapper;
import com.qf.work.service.ProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cd
 * @version 1.0
 * @date 2021/10/6 18:26
 */
@Service
public class ProjectServiceImpl implements ProjectService {

    @Autowired
    private ProjectMapper projectMapper;
    @Override
    public List<Project> findAll() {
        return projectMapper.selectByExample(null);
    }
}
